<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<html>
<head>
  <title>Title</title>
  <%@include file="/static/common/common.jsp" %>
  <script type="text/javascript" src="/static/js/car.js"></script>
</head>
<body>
<table id="dept_datagrid"></table>
<div id="tb">

  <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
  <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
  <input name="keyword" class="easyui-textbox" prompt="车牌号/品牌/车主信息">
  <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query"></a>
</div>
<div id="dept_dialog">
  <form id="dept_form" method="post">
    <input id="deptId" name="id" type="hidden">
    <table align="center" style="margin: 15px;">
      <tr>
        <td>车主姓名:</td>
        <td>
          <input  class="easyui-textbox" type="text" name="client.name" data-options="textField:'name',required:true," readonly="readonly"/>
          <input type="hidden" name="client.id">
        </td>
      </tr>
      <tr>
        <td>车辆品牌:</td>
        <td>
          <input class="easyui-textbox" type="text" name="brand"/>
        </td>
      </tr>
      <tr>
        <td>车辆型号:</td>
        <td>
          <input class="easyui-textbox" type="text" name="model"/>
        </td>
      </tr>
      <tr>
        <td>车牌号码:</td>
        <td>
          <input class="easyui-textbox" type="text" name="plateNumber"/>
        </td>
      </tr>
      <tr>
        <td>排气量/L:</td>
        <td>
          <input class="easyui-textbox" type="text" name="fasDisplacement"/>
        </td>
      </tr>
      <tr>
        <td>购买日期:</td>
        <td>
          <input type="text" class="easyui-datebox" required="required" name="purchaseDate">
        </td>
      </tr>
      <tr>
        <td>市场估价/万元:</td>
        <td>
          <input class="easyui-textbox" type="text" name="valuation"/>
        </td>
      </tr>
      <tr>
        <td>分类:</td>
        <td>
          <select class="easyui-combobox" name="category" style="width:124px;"
                  data-options="panelHeight:'auto'">
            <option value="1">载客</option>
            <option value="0">载物</option>
          </select>
        </td>
      </tr>
      <tr>
        <td>车载大小:</td>
        <td>
          <select class="easyui-combobox" name="size" style="width:124px;"
                  data-options="panelHeight:'auto'">
            <option value="0">大型</option>
            <option value="1">中型</option>
            <option value="2">小型</option>
          </select>
        </td>
      </tr>
      <tr>
        <td>备注信息:</td>
        <td>
                    <textarea name="remarks" id="type_Remark"
                              class="easyui-validatebox" style="height:80px;width: 120px">
                    </textarea>
        </td>
      </tr>

      <div id="btn">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
      </div>
    </table>
  </form>
</div>
</body>
</html>
